package com.creditcmsplt.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * pdf转换excel配置参数获取
 * 
 * @author Administrator
 *
 */
@Component
@ConfigurationProperties(prefix = "creditcmssplt.pdfconvert")
public class CrdPdfConvertProperties {

	private String oss_endpoint;
	private String oss_keyid;
	private String oss_secrect;
	private String oss_bucket;
	private String oss_key;

	private String localResultPath;// 转换结果存储目录
	private String localPdfPath;// 本地localpdf存储
	private String resultDownUrl;// 结果下载url

	private String excelService;// excel转换服务
	private String wordService;// word转换服务
	private String jsonService;// json转换服务
	private String excel4hideService;// json转换服务
	private String defaultService;// 默认转换服务(ocr,图片服务)
	private String convertUsername;// 调用转换服务时,所需的用户名密码
	private String convertPwd;// 调用转换服务时,所需密码
	private String queryService;// 转换结果查询服务
	
	private String callBackApi;

	public CrdPdfConvertProperties() {

	}

	public String getOss_endpoint() {
		return oss_endpoint;
	}

	public void setOss_endpoint(String oss_endpoint) {
		this.oss_endpoint = oss_endpoint;
	}

	public String getOss_keyid() {
		return oss_keyid;
	}

	public void setOss_keyid(String oss_keyid) {
		this.oss_keyid = oss_keyid;
	}

	public String getOss_secrect() {
		return oss_secrect;
	}

	public void setOss_secrect(String oss_secrect) {
		this.oss_secrect = oss_secrect;
	}

	public String getOss_bucket() {
		return oss_bucket;
	}

	public void setOss_bucket(String oss_bucket) {
		this.oss_bucket = oss_bucket;
	}

	public String getOss_key() {
		return oss_key;
	}

	public void setOss_key(String oss_key) {
		this.oss_key = oss_key;
	}

	public String getLocalResultPath() {
		return localResultPath;
	}

	public void setLocalResultPath(String localResultPath) {
		this.localResultPath = localResultPath;
	}

	public String getLocalPdfPath() {
		return localPdfPath;
	}

	public void setLocalPdfPath(String localPdfPath) {
		this.localPdfPath = localPdfPath;
	}

	public String getResultDownUrl() {
		return resultDownUrl;
	}

	public void setResultDownUrl(String resultDownUrl) {
		this.resultDownUrl = resultDownUrl;
	}

	public String getExcelService() {
		return excelService;
	}

	public void setExcelService(String excelService) {
		this.excelService = excelService;
	}

	public String getWordService() {
		return wordService;
	}

	public void setWordService(String wordService) {
		this.wordService = wordService;
	}

	public String getJsonService() {
		return jsonService;
	}

	public void setJsonService(String jsonService) {
		this.jsonService = jsonService;
	}

	public String getDefaultService() {
		return defaultService;
	}

	public void setDefaultService(String defaultService) {
		this.defaultService = defaultService;
	}

	public String getConvertUsername() {
		return convertUsername;
	}

	public void setConvertUsername(String convertUsername) {
		this.convertUsername = convertUsername;
	}

	public String getConvertPwd() {
		return convertPwd;
	}

	public void setConvertPwd(String convertPwd) {
		this.convertPwd = convertPwd;
	}

	public String getQueryService() {
		return queryService;
	}

	public void setQueryService(String queryService) {
		this.queryService = queryService;
	}
	
	
	
	public String getExcel4hideService() {
		return excel4hideService;
	}

	public void setExcel4hideService(String excel4hideService) {
		this.excel4hideService = excel4hideService;
	}

	public String getCallBackApi() {
		return callBackApi;
	}

	public void setCallBackApi(String callBackApi) {
		this.callBackApi = callBackApi;
	}

	@Override
	public String toString() {
		return "CrdPdfConvertProperties [oss_endpoint=" + oss_endpoint + ", oss_keyid=" + oss_keyid + ", oss_secrect="
				+ oss_secrect + ", oss_bucket=" + oss_bucket + ", oss_key=" + oss_key + ", localResultPath="
				+ localResultPath + ", localPdfPath=" + localPdfPath + ", resultDownUrl=" + resultDownUrl
				+ ", excelService=" + excelService + ", wordService=" + wordService + ", jsonService=" + jsonService
				+ ", excel4hideService=" + excel4hideService + ", defaultService=" + defaultService
				+ ", convertUsername=" + convertUsername + ", convertPwd=" + convertPwd + ", queryService="
				+ queryService + ", callBackApi=" + callBackApi + "]";
	}

	
}
